Don't interpolate between keywords
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Jan 2016 21:10:10 +0000 (16:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 7 Jan 2016 21:13:26 +0000 (16:13 -0500)
commita7e2a9d8d3268c851aa1c22da2cbf22ab380e12e
tree354595455c26f60562a505688e3ac2a8a19bb6a8
parentcd6ca291bdc10c8ae7c9379d7c2b892c129785cc
Don't interpolate between keywords

Transitioning between linear gradients like
linear-gradient(to top, yellow, green) and
linear-gradient(to left, yellow, green) was yielding
nonsensical results, with the gradient line jumping around
wildly. Fix this by falling back to stupid image interpolation
for these cases.
gtk/gtkcssimagelinear.c